package com.billionsfinance.hessian.common.utils;

/**
 * @ FileName: ZkConfig.java
 * @ Author: WeiHui-Z
 * @ Date: 2016-11-23  12:29
 * @ Version: v1.0.0
 */
public class ZkConfig {

	private String connectString;

	private int sessionTimeoutMs;

	private int connectionTimeoutMs;

	public ZkConfig() {
	}

	public ZkConfig(String connectString, int sessionTimeoutMs, int connectionTimeoutMs) {
		this.connectString = connectString;
		this.sessionTimeoutMs = sessionTimeoutMs;
		this.connectionTimeoutMs = connectionTimeoutMs;
	}

	public String getConnectString() {
		return connectString;
	}

	public void setConnectString(String connectString) {
		this.connectString = connectString;
	}

	public int getSessionTimeoutMs() {
		return sessionTimeoutMs;
	}

	public void setSessionTimeoutMs(int sessionTimeoutMs) {
		this.sessionTimeoutMs = sessionTimeoutMs;
	}

	public int getConnectionTimeoutMs() {
		return connectionTimeoutMs;
	}

	public void setConnectionTimeoutMs(int connectionTimeoutMs) {
		this.connectionTimeoutMs = connectionTimeoutMs;
	}
}
